home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Headers / System Extras Headers / GX Headers / shape controls library.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.6 KB  |  53 lines  |  [TEXT/MMCC]

  1. /*
  2.     File:        shape controls library.h
  3.  
  4.     Copyright:    © 1984-1994 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef shapeControlsLibraryIncludes
  13. #define shapeControlsLibraryIncludes
  14.  
  15.     #ifndef __EVENTS__
  16. #include <Events.h>
  17. /*    #include <Types.h>                                            */
  18. /*        #include <ConditionalMacros.h>                            */
  19. /*        #include <MixedMode.h>                                    */
  20. /*            #include <Traps.h>                                    */
  21. /*    #include <Quickdraw.h>                                        */
  22. /*        #include <QuickdrawText.h>                                */
  23. /*            #include <IntlResources.h>                            */
  24. /*    #include <OSUtils.h>                                        */
  25.     #endif
  26.  
  27.     #ifndef graphicsTypesIncludes
  28. #include "graphics types.h"
  29. /*    #include "math types.h"                                        */
  30.     #endif
  31.  
  32.     #ifdef __cplusplus
  33. extern "C" {
  34.     #endif
  35.  
  36. typedef struct shapeControlRecord **shapeControl;
  37.  
  38. extern shapeControl NewShapeControl(gxShape items, gxShape background, gxShape foreground);
  39. extern void DisposeShapeControl(shapeControl target);
  40. extern gxShape GetShapeControlSelection(const shapeControl source);
  41. extern void SetShapeControlsSelection(shapeControl target, gxShape shapesToSelect, boolean bringToFront, boolean replaceSelection);
  42. extern gxShape GetShapeControlSelectionHandles(const shapeControl source);
  43. extern boolean SendEventToShapeControl(shapeControl target, EventRecord *event);
  44. extern void InvalidateShapeControlShape(shapeControl target, gxShape invalidShape);
  45. extern void InvalidateShapeControlRectangle(shapeControl target, gxRectangle *bounds);
  46. extern void UpdateShapeControl(shapeControl target);
  47.     #ifdef __cplusplus
  48. }
  49.     #endif
  50.  
  51. #endif
  52.  
  53.